﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<GonguklubburinnMVC.Models.MountainE>" %>

    

    <%--<fieldset>
        <legend>Fields</legend>
    --%>    
        <div class="display-label">Name</div>
        <div class="display-field"><%: Model.Name %></div>
        
        <div class="display-label">Height</div>
        <div class="display-field"><%: Model.Height %> m</div>
        
        <div class="display-label">ImgName</div>
        <div class="display-field"><%: Model.ImgName %></div>
        
        <strong>Hvenær á að leggja í hann ?</strong><br />
               
        <strong> <%: String.Format("{0:D}", Model.InsertDate) %>
        <strong>@</strong>
      <%: String.Format("{0:t}", Model.InsertDate) %></strong>

        <div class="display-label">TravelTime</div>
        <div class="display-field"><%: Model.TravelTime %></div>
        
  
  
  
    <p>

        <%: Html.ActionLink("Edit", "Edit", new { id=Model.ID }) %> |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>



        